package com.ygqh.baby.model.wdt.qyb;

import com.alibaba.fastjson.annotation.JSONField;

public class WdtGoosSpecPushReq {
	/**
	 * Y 0删除 1在架 2下架
	 */
	@JSONField(name = "status")
	private int status;

	/**
	 * Y 外部系统货品主键，和推送原始接口中含义相同，对于客户来说比较重要的字段
	 */
	@JSONField(name = "goods_id")
	private String goodsId;
	/**
	 * Y 外部系统货品商家编码尽量不要为空
	 */
	@JSONField(name = "goods_no")
	private String goodsNo;

	/**
	 * N 外部系统货品名称
	 */
	@JSONField(name = "goods_name")
	private String goodsName;

	/**
	 * Y 外部系统货品规格id
	 */
	@JSONField(name = "spec_id")
	private String specId;

	/**
	 * Y 外部系统规格商家编码
	 */
	@JSONField(name = "spec_code")
	private String specCode;
	/**
	 * 外部系统规格编码
	 */
	@JSONField(name = "spec_no")
	private String specNo;
	/**
	 * 规格名称(shortName+sizeName)
	 */
	@JSONField(name = "spec_name")
	private String specName;
	/**
	 * 外部系统图片url
	 */
	@JSONField(name = "pic_url")
	private String picUrl;

	/**
	 * N 商品价格
	 */
	@JSONField(name = "price")
	private int price;

	/**
	 * N 商品在平台上的库存量
	 */
	@JSONField(name = "stock_num")
	private int stockNum;

	/**
	 * N 平台类目
	 */
	@JSONField(name = "cid")
	private String cid;

	public WdtGoosSpecPushReq(int status, String productCode, String skuCode, String goodsName, String specName) {
		super();
		this.status = status;
		this.goodsId = productCode;
		this.goodsNo = productCode;
		this.goodsName = goodsName;
		this.specId = skuCode;
		this.specNo = skuCode;
		this.specCode = skuCode;
		this.specName = specName;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public int getStockNum() {
		return stockNum;
	}

	public void setStockNum(int stockNum) {
		this.stockNum = stockNum;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsNo() {
		return goodsNo;
	}

	public void setGoodsNo(String goodsNo) {
		this.goodsNo = goodsNo;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getSpecId() {
		return specId;
	}

	public void setSpecId(String specId) {
		this.specId = specId;
	}

	public String getSpecCode() {
		return specCode;
	}

	public void setSpecCode(String specCode) {
		this.specCode = specCode;
	}

	public String getSpecNo() {
		return specNo;
	}

	public void setSpecNo(String specNo) {
		this.specNo = specNo;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	@Override
	public String toString() {
		return "WdtGoosSpecPushReq [status=" + status + ", goodsId=" + goodsId + ", goodsNo=" + goodsNo + ", goodsName=" + goodsName + ", specId=" + specId
				+ ", specCode=" + specCode + ", specName=" + specName + ", picUrl=" + picUrl + ", price=" + price + ", stockNum=" + stockNum + ", cid=" + cid
				+ "]";
	}

}
